package com.ly.blog2backup;

import com.ly.blog2Common.core.http.LoadProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient
@SpringBootApplication
public class Blog2BackupApplication {

    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(Blog2BackupApplication.class);
        // 加载默认错误码
        application.addListeners(new LoadProperties("errConfig.properties"));
        application.run(args);
//        SpringApplication.run(Blog2BackupApplication.class, args);
    }

}
